package com.beyond.market.orders.dao;

import com.beyond.market.orders.domain.Orders;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders>{
    List<Orders> listByUserId(Integer id) throws SQLException;
    Integer getLastId() throws SQLException;
}
